diff options
| author | Adam Soltys <[email protected]> | 2022-11-08 02:22:18 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2022-11-08 02:22:18 -0800 |
| commit | 545c5a016eba8128d4ade02aa506b8821a00a38c (patch) | |
| tree | d7c50889e01d2f2eea705491ed99d5904889c72a /src/routes/(app)/[username]/settings/_pos.svelte | |
| parent | 9af5497ee3b36db7ff1ed1fec3ae2b5eaecca220 (diff) | |
| download | coinos-ui-545c5a016eba8128d4ade02aa506b8821a00a38c.tar.gz coinos-ui-545c5a016eba8128d4ade02aa506b8821a00a38c.zip | |
fix 2fa
Diffstat (limited to 'src/routes/(app)/[username]/settings/_pos.svelte')
| -rw-r--r-- | src/routes/(app)/[username]/settings/_pos.svelte | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/src/routes/(app)/[username]/settings/_pos.svelte b/src/routes/(app)/[username]/settings/_pos.svelte index cf4a5ece..ccbeeff4 100644 --- a/src/routes/(app)/[username]/settings/_pos.svelte +++ b/src/routes/(app)/[username]/settings/_pos.svelte @@ -2,9 +2,9 @@ import { Icon, Toggle } from '$comp'; import { t } from '$lib/translations'; import { success, failure } from '$lib/utils'; + import { page } from '$app/stores'; - export let rates, user; - + let { rates, user } = $page.data; const fiats = Object.keys(rates); </script> @@ -16,12 +16,3 @@ {/each} </select> </div> - -<!-- TODO -<div> - <label for="unit" class="font-bold block mb-1">{$t('user.settings.btcUnit')}</label> - <select disabled name="unit" class="select-styles block py-3 w-full" bind:value={user.unit}> - <option value="SAT">{$t('user.settings.satoshis')} (SAT)</option> - <option value="BTC">{$t('user.settings.bitcoin')} (BTC)</option> - </select> -</div> --> |
